package com.ccn.crm.service.impl;

import com.ccn.crm.mapper.InstallChangeMapper;
import com.ccn.crm.model.InstallChange;
import com.ccn.crm.service.IInstallChange;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class IInstallChangeServiceImpl implements IInstallChange {
    @Autowired
    private InstallChangeMapper installChangeMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return installChangeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(InstallChange record) {
        return installChangeMapper.insert(record);
    }

    @Override
    public InstallChange selectByPrimaryKey(Integer id) {
        return installChangeMapper.selectByPrimaryKey(id);
    }

    @Override
    public List<InstallChange> selectAll() {
        return installChangeMapper.selectAll();
    }

    @Override
    public List<InstallChange> selectByPid(Integer id) {
        return installChangeMapper.selectByPid(id);
    }

    @Override
    public int updateByPrimaryKey(InstallChange record) {
        return installChangeMapper.updateByPrimaryKey(record);
    }
}
